package com.team1.system.librarytag.domain;

import com.team1.common.annotation.Excel;
import com.team1.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图书种类管理对象 library_tag
 * 
 * @author hyy
 * @date 2023-04-10
 */
public class LibraryTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图书种类id */
    @Excel(name = "图书种类id")
    private Long tagId;

    /** 图书类别名 */
    @Excel(name = "图书类别名")
    private String tagName;

    /** 图书类别父id */
    @Excel(name = "图书类别父id")
    private Long tagPreid;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String tag1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String tag2;

    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }
    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }
    public void setTagPreid(Long tagPreid) 
    {
        this.tagPreid = tagPreid;
    }

    public Long getTagPreid() 
    {
        return tagPreid;
    }
    public void setTag1(String tag1) 
    {
        this.tag1 = tag1;
    }

    public String getTag1() 
    {
        return tag1;
    }
    public void setTag2(String tag2) 
    {
        this.tag2 = tag2;
    }

    public String getTag2() 
    {
        return tag2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("tagId", getTagId())
            .append("tagName", getTagName())
            .append("tagPreid", getTagPreid())
            .append("tag1", getTag1())
            .append("tag2", getTag2())
            .toString();
    }
}
